<?php
/**
 * Created by PhpStorm.
 * Author: MeiJay
 * Date: 2020/2/23
 * Time: 12:39
 */

namespace App\Model;


use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;

class ExportGoodJob extends Model
{
    public $table = 'export_good_job';

    protected $fillable = [
        'user_id',
    ];

    /**
     * @return HasMany
     * @author: 梅杰 2020/2/23 12:50
     */
    public function jobDetail()
    {
        return $this->hasMany(ExportGoodJobDetail::class, 'job_id');
    }


}
